﻿using Gfw.Infrastructure.Stock.Enums;
namespace Gfw.BLL.Basic.Stock.Facilities
{

    public class BuyTradeFacilityImpl :Gfw.Infrastructure.Stock.Facilities.BuyTradeFacility
    {


        public BuyTradeFacilityImpl(string userId, decimal count, decimal price, ForceTradeTypeEnum forceType)
            : base(userId, count, price, forceType)
        {
          
        }

        public override void Execute(Repository.UnitOfWork unitOfWork = null)
        {
            base.Execute(unitOfWork);
            //TradeManager.Execute();
            StockManager.NotifyTrade();
        }
    }
}
